package servlet;

import tomcat.HttpRequest;
import tomcat.HttpResponse;
import tomcat.Servlet;
import tomcat.annotation.Controller;

@Controller(url = "/hello")
public class HelloServlet extends Servlet {
    @Override
    public HttpResponse handle(HttpRequest request) {
        return new HttpResponse(200, "hello");
    }
}
